package top.fzqblog;

import top.fzqblog.anotherfunc.FunctionTestKt;
import top.fzqblog.clazz.KotlinClass;
import top.fzqblog.function.ClassFunctionTest;

/**
 * Created by 抽离 on 2017/8/3 0003.
 */
public class Main {

    public static void main(String[] args){
        System.out.println("：" + FunctionTestKt.sum(1, 2));//在java中变成静态函数，其实就是编译成静态方法了
        
        ClassFunctionTest classFunctionTest = new ClassFunctionTest();//调用kt的函数
        classFunctionTest.sayHello();

        KotlinClass kotlinClass = new KotlinClass(1, "2");//不能为空
        
        System.out.println("kt：" + kotlinClass);
    }
}
